﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ScheduleMaker.DB.CoreDAO
{
    public abstract class CoreAbstractDAO<T>
    {

        public abstract void save(T entity);

        public abstract void delete(T entity);

        public abstract void update(T entity);

        public abstract void saveOrUpdate(T entity);

        public abstract T getById(int id);

        public abstract IList<T> getAll();
    }
}
